Learn R Programming

chronosphere (version 0.3.1)

[[<-,RasterArray,ANY,ANY-method: Replace RasterLayers in a RasterArray object

Description

Double bracket '[[' refers to layers' name in the RasterStack of the RasterArray. Use single brackets to replace elements based on their position in the RasterArray.

Usage

# S4 method for RasterArray,ANY,ANY
[[(x, i) <- value

Arguments

x

RasterArray object.

i

subscript of layers to replace.

value

character vector.

Value

None.

Examples

Run this code
# NOT RUN {
# an example
# }

Run the code above in your browser using DataLab